home *** CD-ROM | disk | FTP | other *** search
- The files in this directory are the Source files required to compile Finder V2.06
- You will need DICE and the Amiga includes for Exec 3.0 if you want to re-compile.
- Open a shell, cd into the source directory and type:
-
- 1.> DCC Finder.c -3.0 -gs
- (if you want CPU optimisation, use -020 or -030 options)
-
- It will then compile, assemble and link to produce an executable called "Finder"
-
- NOTE: You MUST use the -gs option as it enables the dynamic stack generator without
- which, Finder will crash on a spectacularly regular basis because of the fact that I
- know diddly squat about memory allocation in anything other than the stack. Huh!
-
- Finder.GUI is the file for GadToolsBox. To use it, you will need GadToolsBox
- v2.2b+. However, before you can compile you will need to edit the GadTools
- source (sorry, but it is necessary). You must also tell GadToolsBox to generate an
- IDCMP Handler (even though Finder uses it's own, the defenitions are needed). This
- makes designing your own GUI easy. (I have included an alternative ".GUI" file, but no
- source).
-
- NOTE: If you use GadToolsBox to generate the GUI source from "Finder.GUI" you
- will need to edit it first. These are the changes you will need to
- make to "Finder_GUI.c":
-
- · Remove all of the "#include" statements. They are incorporated into
- "Finder.c" (if you generate this source as anything other than
- "Finder_GUI.c" you will need to change "#include "Finder_GUI.h" to
- "<name>.h" where <name> is the name you use. You also need to
- change the #include in Finder.c for "Finder_GUI.c").
- ******-> DO NOT REMOVE "#include "Finder_GUI.h"
- · Change the "struct NewGadget FinderNGad[] = {" function removing all
- of the "(APTR)<Gadget name>Clicked" (where <Gadget name> is the name
- of the gadget concerned) to "NULL". Without this, the program will
- try to call functions which don't exist.
- · Remove completely "HandleFinderIDCMP( void )". This function has been
- moved to "Finder.c" because it is different to the standard generated
- GadToolsBox version.
-
- NOTE: The following changes must also be made to "Finder_GUI.h" if you use
- "Finder.GUI" to re-generate it.
-
- · Remove the "GetString" and "GetNumber" defines.
- · Remove the Library setup calls for Intuition and GadTools
- ("extern struct IntuitionBase *IntuitionBase;" &
- "extern struct Library *GadToolsBase;").
- · Remove the following function prototypes:
- "extern int filelisterClicked( void );"
- "extern int pathClicked( void );"
- "extern int patternClicked( void );"
- "extern int findClicked( void );"
- "extern int quitClicked( void );"
- "extern int helpClicked( void );"
- "extern int aboutClicked( void );"
- "extern int FinderCloseWindow();"
- "extern int FinderVanillaKey();"
- "extern int FinderRawKey();"
-
-
- For more info, see main Help file.
-
- Chris Jones
-